package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投票对象 wx_vote
 * 
 * @author ruoyi
 * @date 2022-03-27
 */
public class WxVote extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long gameId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String voter;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String detail;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long winnerTeam;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer scoreId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGameId(Long gameId) 
    {
        this.gameId = gameId;
    }

    public Long getGameId() 
    {
        return gameId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setVoter(String voter) 
    {
        this.voter = voter;
    }

    public String getVoter() 
    {
        return voter;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setWinnerTeam(Long winnerTeam) 
    {
        this.winnerTeam = winnerTeam;
    }

    public Long getWinnerTeam() 
    {
        return winnerTeam;
    }
    public void setScoreId(Integer scoreId) 
    {
        this.scoreId = scoreId;
    }

    public Integer getScoreId() 
    {
        return scoreId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gameId", getGameId())
            .append("userId", getUserId())
            .append("voter", getVoter())
            .append("remark", getRemark())
            .append("detail", getDetail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("winnerTeam", getWinnerTeam())
            .append("scoreId", getScoreId())
            .toString();
    }
}
